-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace deprecated gulp-util #5
Conversation
@ScorpioCoding, thank's for help. Please fix the failing unit tests in order to accept this pull request. |
@meeroslav @ScorpioCoding |
@meeroslav |
@demurgos |
@denOldTimer or @ScorioCoding, you can check travis for more details https://travis-ci.org/meeroslav/gulp-inject-partials/jobs/324991485. You cannot simply replace |
@meeroslav |
src/index.spec.js
Outdated
@@ -12,15 +18,15 @@ describe('gulp-inject-partials', function(){ | |||
var logOutput = []; | |||
|
|||
beforeEach(function () { | |||
log = gutil.log; | |||
log = fancyLog.log; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd recommend to use fancyLog.info
(everywhere in this package) because of this kind of test relying on Node's cache to patch shared dependencies. (fancyLog.log
does not exist)
I personally consider it a bit brittle so I exposed the logger on the main module in another PR. Finally, a solution would be to use proxy-require
to stub fancy-log
.
I will fix this on the master, since it's simpler that way. Sorry for waiting so long. |
Hi there,
Created a hotfix for the gulp-util deprecation issue
Installed dependecies
files modified are:
.gitignore
--- added package-lock.json that occures when using VS code and SourceTree Git manager
package.json
--- added dependencies
index.js
--- mod code
I hope that my first try is a succes?
my firdst pull-request....lol
kind regards
scorpiocoding - kribo